body,
html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  width: 800px;
  height: 600px;
  background-color: #f0f0f0;
  overflow: hidden;
}

.container {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
  font-size: 24px;
}

h2 {
  color: #444;
  margin-top: 0;
  font-size: 18px;
}

.content {
  display: flex;
  flex: 1;
  gap: 20px;
  overflow: hidden;
}

.input-container,
.output-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

textarea,
pre {
  flex: 1;
  margin: 0;
  padding: 10px;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: auto;
}

textarea {
  resize: none;
  background-color: #f8f8f8;
  transition: border-color 0.3s ease;
}

textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 3px rgba(76, 175, 80, 0.5);
}

pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  background-color: #f0f8ff;
}

textarea::-webkit-scrollbar,
pre::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

textarea::-webkit-scrollbar-thumb,
pre::-webkit-scrollbar-thumb {
  background-color: #c1c1c1;
  border-radius: 4px;
}

textarea::-webkit-scrollbar-track,
pre::-webkit-scrollbar-track {
  background-color: #f1f1f1;
  border-radius: 4px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.container {
  animation: fadeIn 0.3s ease-in-out;
}